package com.etcn.common.payment.alipay.constants;

public class AlipayConstants {

	//合作方账号
	public static String partner = "2088111001373566";
	
	//appid
	public static String APPID = "2018032602447235";
	
	//国内支付宝rsa公钥
	public static String rsaPublicKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlIaFL4l2b9yHm6pRYK5y2mu1W7rTALYyiIqWrR1AAH/cKY1aALPZCHKq/z9VOFAmspAdY3PqL208BSnMU8sBfRtmk+mnQUIJAXNrgtHf33W1GsAoOsvin+Ooad2m3YUHN/pYwsWbBhagythJ6lQB6UdKY0hQsptt6gotgDMFgvHf2CDorDQFx9qFXM4tdXGwSxhu6Pu7NXoJ/wmqi+rSofotsNkR6uFDSDDvHb8/nqU0+YQFePKGDKjRJl1Qxl/sjwr9Y3WbwWKSQYOxXUPezzIkVqjxiabeMZ4uQdxtaPO1KenegMn+PFpjKE1K0+ZyRZAJWhv6hldVzMkWRRbtiwIDAQAB";
	
	//国内支付宝rsa私钥
	public static String rsaPrivateKey = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCVStLmLX6aRexXYveIwBmMD0Vsxlc9G10cl/MqPD4zJuNo9EKnlYCCsrXimGcyzjv/nrViv1U8QAG/QPtcqNgcIxb5G0H/NutTaqoHobR2nL0VcaYgydvsZ6xzyX/gxIOAFXjdyi8zHaCwoAeBy1mniJjLFZxuKfLne2JxommNDT3KvCi9gNTqUQ8wAyxUiqUPO43YmX/fxXFSpEQNoeXrpf6h0j3igeOvCZuKSjV3yVwiz1vq7iRzoPv6/xnAj2qm31vYUIginKQ2A8JqgffhrXgRqZi8jj9QJXRcOl84bj+aEB1/CYin6cn+LK9abi6Ha++m0aVi6wdP3ChpFpbbAgMBAAECggEAHhQZMa7w1vxHhcO2w6KQgxuAjU3YvcMJm30xzMyea4fmQXsVAtaoMaz34FN8V0wd4n6DZQXPkngC4hmhiyWphOG8+yt2vIjAGOpgn3EA/vTNU8i2A90nphWtNRbf4NU2+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a7AAbwO+xp4p92BUZLwr2b";

	//字符编码格式 目前支持 gbk 或 utf-8,(客户端和服务器要一致,支付成功后回调签名不通过)
	public static String INPUT_CHARSET = "utf-8";

	//签名方式(RSA/MD5)
	public static String SIGN_TYPE = "RSA2";
	
	//支付宝付款成功(支持退款)
	public static final String ALIPAY_TRADESTATUS_SUCCESS = "TRADE_SUCCESS";
		
	//支付宝交易完成(不支持退款)
	public static final String ALIPAY_TRADESTATUS_FINISHED = "TRADE_FINISHED";
		
	//支付宝等待付款
	public static final String ALIPAY_TRADESTATUS_WAITPAY = "WAIT_BUYER_PAY";
	
	//付款以后用户退款成功，交易自动关闭
	public static final String ALIPAY_TRADESTATUS_CLOSED = "TRADE_CLOSED";

}
